package dao;

import entity.CaseHistory;

import java.util.List;

/**
 * @Author:
 * @Date: 2020-04-22
 * @Description: @PACKAGE:dao
 * @version: 1.0
 */
public interface CaseHistoryDao {
    //
    List<CaseHistory> getAllCaseHistory();

    //
    List<CaseHistory> getByCaseHistoryId(String id);

    //
    List<CaseHistory> getByDoctorId(String id);

    //
    List<CaseHistory> getByPatientId(String id);

    //
    List<CaseHistory> getByCaseHistoryIdLike(String id);

    //
    List<CaseHistory> getByPatientIdOrderByDate(String id);

    //
    int add(CaseHistory caseHistory);

    //
    int delete(String caseHistoryNo);

    //
    int update(CaseHistory caseHistory);
}
